package cloudPayAdmin.admin.dbapp.repo.traffic;

import cloudPayAdmin.admin.dbapp.entity.traffic.TToken;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface TokenRepo extends JpaRepository<TToken, Long>, JpaSpecificationExecutor<TToken> {
    List<TToken> findByTypeAndEnable(String token, Boolean enable);
}
